package com.oracle.cmp.service;

import com.oracle.cmp.common.PageInfo;
import com.oracle.cmp.common.Result;
import com.oracle.cmp.entity.Customer;

import java.util.List;
import java.util.Map;

public interface CustomerService {

    public Result save(Customer customer);

    public Result queryForPage(Map<String, Object> map, int pageNum);

    public Result selectById(int customerId) ;

    public Result update(Customer customer) ;

    public Result delete(int customerId) ;

    public int count(Map<String, Object> map);
}
